<template>
	<view class="container">
		<view class="header">
			<text class="title">简单测试页面</text>
		</view>
		
		<view class="content">
			<text class="message">如果你能看到这个页面，说明uniapp运行正常！</text>
			
			<view class="buttons">
				<button class="btn" @click="goBack">返回</button>
				<button class="btn" @click="showToast">显示提示</button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				message: '测试页面'
			}
		},
		onLoad() {
			console.log('简单测试页面加载完成')
		},
		methods: {
			goBack() {
				uni.navigateBack()
			},
			showToast() {
				uni.showToast({
					title: '功能正常！',
					icon: 'success'
				})
			}
		}
	}
</script>

<style>
	.container {
		padding: 40rpx;
		background: #f5f5f5;
		min-height: 100vh;
	}
	
	.header {
		text-align: center;
		margin-bottom: 60rpx;
	}
	
	.title {
		font-size: 48rpx;
		font-weight: bold;
		color: #333;
	}
	
	.content {
		background: #fff;
		border-radius: 20rpx;
		padding: 60rpx;
		text-align: center;
	}
	
	.message {
		display: block;
		font-size: 32rpx;
		color: #666;
		margin-bottom: 60rpx;
		line-height: 1.6;
	}
	
	.buttons {
		display: flex;
		flex-direction: column;
		gap: 30rpx;
	}
	
	.btn {
		height: 80rpx;
		border-radius: 16rpx;
		font-size: 32rpx;
		background: #409EFF;
		color: #fff;
		border: none;
	}
</style>
